package projectiles;

import java.awt.Dimension;
import java.awt.geom.Point2D;

import javax.swing.ImageIcon;

import core.ShootingUnit;

public class Cannonball extends Projectile {
	
	private static final ImageIcon image = new ImageIcon(Cannonball.class.getResource("../images/cannonball.gif"));
	public static final int damage = 15;
	public static final int speed = 1000;

	public Cannonball( ShootingUnit origin, Point2D.Double position, int viewAngle, Point2D.Double destination )
	{
		super(origin, position, viewAngle, new Dimension(Cannonball.image.getIconWidth(), Cannonball.image.getIconHeight()), Cannonball.image, Cannonball.damage, destination, Cannonball.speed );
	}

}
